package com.yincheng.oes.business.group.mapper;

import com.yincheng.oes.business.group.model.entity.ExportGroupUserDO;
import com.yincheng.oes.business.group.model.entity.ExportGroupUserPaperResultDO;
import com.yincheng.oes.business.group.model.entity.GroupUser;
import java.util.List;
import org.springframework.stereotype.Repository;

@Repository
public interface GroupUserMapper {
    int deleteByPrimaryKey(String groupUserId);

    int insert(GroupUser record);

    GroupUser selectByPrimaryKey(String groupUserId);

    int update(GroupUser record);

    int deleteByGroupId(String groupId);

    int batchInsert(List<GroupUser> list);

    List<GroupUser> selectByGroupId(String groupId);

    List<ExportGroupUserPaperResultDO> selectUserPaperResultsByGroupId(String groupId);

    List<ExportGroupUserDO> selectGroupUserForExportByGroupId(String groupId);
}
